home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / demosrc / vectbal2 / xvsync.h < prev   
Encoding:
C/C++ Source or Header  |  1993-10-06  |  387 b   |  23 lines

  1. #ifndef _XVSYNC_H_
  2. #define _XVSYNC_H_
  3.  
  4.  
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8.  
  9.     void x_install_vsync_handler(int skipcount);
  10.     void x_remove_vsync_handler(void);
  11.     void x_set_user_vsync_handler(void far (*)());
  12.  
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16.  
  17.  
  18. extern WORD             TicksPerSecond;
  19. extern volatile long    VsyncIntTicks;
  20. extern WORD             VsyncPeriod;
  21.  
  22. #endif
  23.